﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data.Linq.Mapping;
using System.Data.Linq;

namespace TwoWheels.Account
{
    [Table]
    public class Klienci
    {
        [Column(IsPrimaryKey = true, IsDbGenerated=true)] //zeby to system robil autoincrement a nie my w procedurach
        public int KlientID;

        [Column]
        public string Imie
        {
            get;
            set;
        }

        [Column]
        public string Nazwisko
        {
            get;
            set;
        }
        
        [Column(Name="e-mail")]
        public string eMail
        {
            get;
            set;
        }

        [Column]
        public String Telefon
        {
            get;
            set;
        }

        [Column]
        public String Adres
        {
            get;
            set;
        }

        [Column]
        public String Miasto
        {
            get;
            set;
        }

        [Column(Name = "Kod Pocztowy")]
        public String KodPocztowy
        {
            get;
            set;
        }

        [Column]
        public String Panstwo
        {
            get;
            set;
        }

        [Column(Name = "Nazwa Firmy")]
        public String NazwaFirmy
        {
            get;
            set;
        }

        [Column]
        public String NIP
        {
            get;
            set;
        }

        [Column]
        public string HashCode
        {
            get;
            set;
        }


    }
}